<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Abstract_table_collection</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Abstract_table_collection</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Abstract class for all table model classes.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Andrej Jursa</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">copyright:</span> FMFI Comenius University in Bratislava 2012</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_core---abstract_table_collection.php.html">/core/abstract_table_collection.php</a> (line <span class="field">22</span>)
		</p>
		
				
		<pre><a href="../../Abstract/Core/Abstract_table_core.html">Abstract_table_core</a>
   |
   --Abstract_table_collection</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Admins_table_collection.html">Admins_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Answers_table_collection.html">Answers_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Images_table_collection.html">Images_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Inventions_table_collection.html">Inventions_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Logs_table_collection.html">Logs_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Miniapps_table_collection.html">Miniapps_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Miniapp_files_table_collection.html">Miniapp_files_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Periods_table_collection.html">Periods_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Physicists_table_collection.html">Physicists_table_collection</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../TableModels/Questions_table_collection.html">Questions_table_collection</a></td>
					<td>
											
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																<div class="var-title">
					<span class="var-type">array<mixed></span>
					<a href="#$editor_settings" title="details" class="var-name">$editor_settings</a>
				</div>
																<div class="var-title">
					<span class="var-type">array<mixed></span>
					<a href="#$grid_settings" title="details" class="var-name">$grid_settings</a>
				</div>
																<div class="var-title">
					<span class="var-type">array<integer></span>
					<a href="#$ids" title="details" class="var-name">$ids</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$last_query" title="details" class="var-name">$last_query</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$primary_id" title="details" class="var-name">$primary_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">CI_DB_active_record</span>
					<a href="#$query" title="details" class="var-name">$query</a>
				</div>
																<div class="var-title">
					<span class="var-type">array<Abstract_table_row></span>
					<a href="#$rows" title="details" class="var-name">$rows</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$table_name" title="details" class="var-name">$table_name</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																																																																																																																																																																												
												<div class="method-definition">
											<span class="method-result">Abstract_table_collection</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addEditorTab" title="details" class="method-name">addEditorTab</a>
											(<span class="var-type"><a href="../../Abstract/Core/editorTab.html">editorTab</a></span>&nbsp;<span class="var-name">$tab</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#addGridField" title="details" class="method-name">addGridField</a>
											(<span class="var-type"><a href="../../Abstract/Core/gridField.html">gridField</a></span>&nbsp;<span class="var-name">$field</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array<integer></span>
										<a href="#allIds" title="details" class="method-name">allIds</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#count" title="details" class="method-name">count</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#defaultEditingGrid" title="details" class="method-name">defaultEditingGrid</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#defaultEditorSettings" title="details" class="method-name">defaultEditorSettings</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#determineTableColumns" title="details" class="method-name">determineTableColumns</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#determineTableName" title="details" class="method-name">determineTableName</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#editorSettings" title="details" class="method-name">editorSettings</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#enableDeleteRecord" title="details" class="method-name">enableDeleteRecord</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Vymazať'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#enableEditRecord" title="details" class="method-name">enableEditRecord</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Upraviť'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#enableGrid" title="details" class="method-name">enableGrid</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#enableNewRecord" title="details" class="method-name">enableNewRecord</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Nový záznam'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#enablePreviewRecord" title="details" class="method-name">enablePreviewRecord</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Náhlad'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$controller</span> = <span class="var-default">'default'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span> = <span class="var-default">'index'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$open_in</span> = <span class="var-default">OPEN_IN_FANCYBOX</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#execute" title="details" class="method-name">execute</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#filterCustomWhere" title="details" class="method-name">filterCustomWhere</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#filterExcludeIds" title="details" class="method-name">filterExcludeIds</a>
											([<span class="var-type">array<integer></span>&nbsp;<span class="var-name">$list</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#filterIn" title="details" class="method-name">filterIn</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$values</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$not</span> = <span class="var-default">FALSE</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>], <span class="var-type">array<mixed></span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#filterIs" title="details" class="method-name">filterIs</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$operator</span> = <span class="var-default">''</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#filterLike" title="details" class="method-name">filterLike</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">'both'</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array<Abstract_table_row></span>
										<a href="#get" title="details" class="method-name">get</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getEditorSettings" title="details" class="method-name">getEditorSettings</a>
											(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">0</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getGridSettings" title="details" class="method-name">getGridSettings</a>
											(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">0</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getPagesCount" title="details" class="method-name">getPagesCount</a>
											([<span class="var-type">integer</span>&nbsp;<span class="var-name">$rows_per_page</span> = <span class="var-default">20</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#gridSettings" title="details" class="method-name">gridSettings</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isDeleteRecordEnabled" title="details" class="method-name">isDeleteRecordEnabled</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isEditRecordEnabled" title="details" class="method-name">isEditRecordEnabled</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isNewRecordEnabled" title="details" class="method-name">isNewRecordEnabled</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isPreviewRecordEnabled" title="details" class="method-name">isPreviewRecordEnabled</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#lastQuery" title="details" class="method-name">lastQuery</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#limit" title="details" class="method-name">limit</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#orderBy" title="details" class="method-name">orderBy</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#paginate" title="details" class="method-name">paginate</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$page</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$rows_per_page</span> = <span class="var-default">20</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#primaryIdField" title="details" class="method-name">primaryIdField</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#reset" title="details" class="method-name">reset</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#setDefaultSorting" title="details" class="method-name">setDefaultSorting</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
										<a href="#setExcludetIds" title="details" class="method-name">setExcludetIds</a>
											(<span class="var-type">string|array<integer></span>&nbsp;<span class="var-name">$ids_list</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setGridTableName" title="details" class="method-name">setGridTableName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array<string>|NULL</span>
										<a href="#_getKnownFields" title="details" class="method-name">_getKnownFields</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_setKnownFields" title="details" class="method-name">_setKnownFields</a>
											(<span class="var-type">array<string></span>&nbsp;<span class="var-name">$fields</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$editor_settings" id="$editor_settings"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array<mixed></span>
			<span class="var-name">$editor_settings</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">57</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> settings for record editor (new/edit actions).</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$grid_settings" id="$grid_settings"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array<mixed></span>
			<span class="var-name">$grid_settings</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">52</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> settings for editing grid.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$ids" id="$ids"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array<integer></span>
			<span class="var-name">$ids</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">37</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> array of table rows primary indexes.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$last_query" id="$last_query"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$last_query</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">62</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> last executed query.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$primary_id" id="$primary_id"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$primary_id</span>
			 = <span class="var-default"> 'id'</span>			(line <span class="line-number">47</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> name of primary key field.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$query" id="$query"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">CI_DB_active_record</span>
			<span class="var-name">$query</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">42</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> active record class of codeigniter.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$rows" id="$rows"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array<Abstract_table_row></span>
			<span class="var-name">$rows</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">32</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> array of table rows.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$table_name" id="$table_name"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$table_name</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> name of table represented by this class.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">67</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Class constructor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Abstract_table_collection</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodaddEditorTab" id="addEditorTab"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addEditorTab</span> (line <span class="line-number">349</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds new tab for record editor in admin editor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addEditorTab
		</span>
					(<span class="var-type"><a href="../../Abstract/Core/editorTab.html">editorTab</a></span>&nbsp;<span class="var-name">$tab</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../Abstract/Core/editorTab.html">editorTab</a></span>
				<span class="var-name">$tab</span><span class="var-description">: editor tab.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddGridField" id="addGridField"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">addGridField</span> (line <span class="line-number">371</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add gridField class to list of field of grid view in editor.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			addGridField
		</span>
					(<span class="var-type"><a href="../../Abstract/Core/gridField.html">gridField</a></span>&nbsp;<span class="var-name">$field</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../Abstract/Core/gridField.html">gridField</a></span>
				<span class="var-name">$field</span><span class="var-description">: definition of field.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodallIds" id="allIds"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">allIds</span> (line <span class="line-number">253</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns array of table rows primary indexes as array of integers.</p>
	<ul class="tags">
				<li><span class="field">return:</span> array of table rows primary indexes.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<integer></span>
		<span class="method-name">
			allIds
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcount" id="count"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">count</span> (line <span class="line-number">262</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns count of table rows.</p>
	<ul class="tags">
				<li><span class="field">return:</span> count of table rows.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			count
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddefaultEditingGrid" id="defaultEditingGrid"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">defaultEditingGrid</span> (line <span class="line-number">576</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Default grid settings.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			defaultEditingGrid
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddefaultEditorSettings" id="defaultEditorSettings"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">defaultEditorSettings</span> (line <span class="line-number">606</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Default editor settings.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			defaultEditorSettings
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddetermineTableColumns" id="determineTableColumns"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">determineTableColumns</span> (line <span class="line-number">545</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will read table columns from database table, bot only  when this columns are not known.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			determineTableColumns
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddetermineTableName" id="determineTableName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">determineTableName</span> (line <span class="line-number">532</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function reads name of database table from name of class, but only  when table_name is set to NULL.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			determineTableName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodeditorSettings" id="editorSettings"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">editorSettings</span> (line <span class="line-number">340</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Definitions for record form in admin editor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			editorSettings
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../TableModels/Admins_table_collection.html#methodeditorSettings">Admins_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Answers_table_collection.html#methodeditorSettings">Answers_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Images_table_collection.html#methodeditorSettings">Images_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Inventions_table_collection.html#methodeditorSettings">Inventions_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Miniapps_table_collection.html#methodeditorSettings">Miniapps_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Miniapp_files_table_collection.html#methodeditorSettings">Miniapp_files_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Periods_table_collection.html#methodeditorSettings">Periods_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Physicists_table_collection.html#methodeditorSettings">Physicists_table_collection::editorSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Questions_table_collection.html#methodeditorSettings">Questions_table_collection::editorSettings()</a>
							</li>
				</ul>
	</div>
<a name="methodenableDeleteRecord" id="enableDeleteRecord"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">enableDeleteRecord</span> (line <span class="line-number">425</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enable or disable delete record tool.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			enableDeleteRecord
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Vymazať'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$status</span><span class="var-description">: TRUE or FALSE for enabled or disabled state.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: button title.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodenableEditRecord" id="enableEditRecord"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">enableEditRecord</span> (line <span class="line-number">412</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enable or disable edit record tool.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			enableEditRecord
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Upraviť'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$status</span><span class="var-description">: TRUE or FALSE for enabled or disabled state.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: button title.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodenableGrid" id="enableGrid"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">enableGrid</span> (line <span class="line-number">387</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enable or disable grid view for derived table collection.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			enableGrid
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$status</span><span class="var-description">: TRUE for enable grid view, FALSE for disable.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodenableNewRecord" id="enableNewRecord"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">enableNewRecord</span> (line <span class="line-number">399</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enable or disable new record tool.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			enableNewRecord
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Nový záznam'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$status</span><span class="var-description">: TRUE or FALSE for enabled or disabled state.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: button title.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodenablePreviewRecord" id="enablePreviewRecord"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">enablePreviewRecord</span> (line <span class="line-number">441</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enable or disable preview record tool.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			enablePreviewRecord
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$status</span> = <span class="var-default">TRUE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">'Náhlad'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$controller</span> = <span class="var-default">'default'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span> = <span class="var-default">'index'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$open_in</span> = <span class="var-default">OPEN_IN_FANCYBOX</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$status</span><span class="var-description">: TRUE or FALSE for enabled or disabled state.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: button title.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$controller</span><span class="var-description">: controller to be called when preview is triggered.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$action</span><span class="var-description">: action of controller to be called.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$open_in</span><span class="var-description">: target window to open record in, possible values from constants OPEN_IN_*.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodexecute" id="execute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">execute</span> (line <span class="line-number">77</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Runs active record query and fills rows with table rows.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			execute
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodfilterCustomWhere" id="filterCustomWhere"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">filterCustomWhere</span> (line <span class="line-number">207</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds custom where clause to the query.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			filterCustomWhere
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where</span><span class="var-description">: where clause.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilterExcludeIds" id="filterExcludeIds"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">filterExcludeIds</span> (line <span class="line-number">220</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add filter for excludet ids.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			filterExcludeIds
		</span>
					([<span class="var-type">array<integer></span>&nbsp;<span class="var-name">$list</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array<integer></span>
				<span class="var-name">$list</span><span class="var-description">: array of excludet ids.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilterIn" id="filterIn"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">filterIn</span> (line <span class="line-number">182</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds IN condition to the where clause.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			filterIn
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$values</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$not</span> = <span class="var-default">FALSE</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>], <span class="var-type">array<mixed></span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: field to check.</span>			</li>
					<li>
				<span class="var-type">array<mixed></span>
				<span class="var-name">$value</span><span class="var-description">: value to check against.</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$not</span><span class="var-description">: if set to TRUE, it will produce NOT IN condition.</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$use_or</span><span class="var-description">: OR logical operator flag, if set, this condition will begin with OR operator, instead of AND.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$values</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilterIs" id="filterIs"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">filterIs</span> (line <span class="line-number">142</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds one equality condition to where clause.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			filterIs
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$operator</span> = <span class="var-default">''</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to check against.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$operator</span><span class="var-description">: operator used, valid are '', '!=', '&lt;', '&gt;', '&lt;=', '&gt;='.</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$use_or</span><span class="var-description">: OR logical operator flag, if set, this condition will begin with OR operator, instead of AND.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilterLike" id="filterLike"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">filterLike</span> (line <span class="line-number">162</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds one LIKE condition to the where clause.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			filterLike
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">'both'</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$use_or</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to check against.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$escape</span><span class="var-description">: escape of the value, can be 'both', 'before', 'after' (it adds % symbol to the corresponding ends of value string).</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$use_or</span><span class="var-description">: OR logical operator flag, if set, this condition will begin with OR operator, instead of AND.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget" id="get"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get</span> (line <span class="line-number">244</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns array of table rows as instance of extended Abstract_table_row class.</p>
	<ul class="tags">
				<li><span class="field">return:</span> table rows.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<Abstract_table_row></span>
		<span class="method-name">
			get
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetEditorSettings" id="getEditorSettings"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getEditorSettings</span> (line <span class="line-number">324</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the settings for record editor view.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getEditorSettings
		</span>
					(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array<mixed></span>
				<span class="var-name">0</span><span class="var-description">: editor settings.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetGridSettings" id="getGridSettings"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getGridSettings</span> (line <span class="line-number">313</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the settings for grid view.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getGridSettings
		</span>
					(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array<mixed></span>
				<span class="var-name">0</span><span class="var-description">: grid settings.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPagesCount" id="getPagesCount"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPagesCount</span> (line <span class="line-number">273</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns total number of pages.</p>
	<ul class="tags">
				<li><span class="field">return:</span> number of pages.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getPagesCount
		</span>
					([<span class="var-type">integer</span>&nbsp;<span class="var-name">$rows_per_page</span> = <span class="var-default">20</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$rows_per_page</span><span class="var-description">: number of rows displayed on one page.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgridSettings" id="gridSettings"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">gridSettings</span> (line <span class="line-number">333</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Definitions for grid in admin editor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			gridSettings
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../TableModels/Admins_table_collection.html#methodgridSettings">Admins_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Answers_table_collection.html#methodgridSettings">Answers_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Images_table_collection.html#methodgridSettings">Images_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Inventions_table_collection.html#methodgridSettings">Inventions_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Logs_table_collection.html#methodgridSettings">Logs_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Miniapps_table_collection.html#methodgridSettings">Miniapps_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Miniapp_files_table_collection.html#methodgridSettings">Miniapp_files_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Periods_table_collection.html#methodgridSettings">Periods_table_collection::gridSettings()</a>
							</li>
					<li>
				<a href="../../TableModels/Physicists_table_collection.html#methodgridSettings">Physicists_table_collection::gridSettings()</a>
								: Settings for editing grid of admin panel.
							</li>
					<li>
				<a href="../../TableModels/Questions_table_collection.html#methodgridSettings">Questions_table_collection::gridSettings()</a>
							</li>
				</ul>
	</div>
<a name="methodisDeleteRecordEnabled" id="isDeleteRecordEnabled"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isDeleteRecordEnabled</span> (line <span class="line-number">473</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if is enabled delete operation.</p>
	<ul class="tags">
				<li><span class="field">return:</span> state of flag.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isDeleteRecordEnabled
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisEditRecordEnabled" id="isEditRecordEnabled"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">isEditRecordEnabled</span> (line <span class="line-number">464</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if record editing is enabled.</p>
	<ul class="tags">
				<li><span class="field">return:</span> state of flag.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isEditRecordEnabled
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisNewRecordEnabled" id="isNewRecordEnabled"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isNewRecordEnabled</span> (line <span class="line-number">455</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if new record creation is enabled.</p>
	<ul class="tags">
				<li><span class="field">return:</span> state of flag.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isNewRecordEnabled
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisPreviewRecordEnabled" id="isPreviewRecordEnabled"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">isPreviewRecordEnabled</span> (line <span class="line-number">482</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if record preview is enabled.</p>
	<ul class="tags">
				<li><span class="field">return:</span> state of flag.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isPreviewRecordEnabled
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodlastQuery" id="lastQuery"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">lastQuery</span> (line <span class="line-number">522</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return last executed sql query.</p>
	<ul class="tags">
				<li><span class="field">return:</span> sql query.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			lastQuery
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodlimit" id="limit"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">limit</span> (line <span class="line-number">126</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets limits for result set.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			limit
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$value</span><span class="var-description">: count of rows in result set.</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$offset</span><span class="var-description">: offset of rows, count from 0.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorderBy" id="orderBy"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">orderBy</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add sorting into query.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			orderBy
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column, by which will be result set sorted.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: direction of sorting, can be asc, desc or random.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpaginate" id="paginate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">paginate</span> (line <span class="line-number">288</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set appropriate limits to the query by arguments.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			paginate
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$page</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$rows_per_page</span> = <span class="var-default">20</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$page</span><span class="var-description">: number of page.</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$rows_per_page</span><span class="var-description">: number of rows displayed on one page.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprimaryIdField" id="primaryIdField"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">primaryIdField</span> (line <span class="line-number">304</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns field name for primary id.</p>
	<ul class="tags">
				<li><span class="field">return:</span> primary id field name.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			primaryIdField
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodreset" id="reset"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">reset</span> (line <span class="line-number">232</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will reset query to default.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			reset
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetDefaultSorting" id="setDefaultSorting"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setDefaultSorting</span> (line <span class="line-number">493</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set default sorting by field and direction.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			setDefaultSorting
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: column in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: direction of sorting, can be 'asc' or 'desc'.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetExcludetIds" id="setExcludetIds"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setExcludetIds</span> (line <span class="line-number">505</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set excludet ids from editing grid and editor as well.</p>
	<ul class="tags">
				<li><span class="field">return:</span> reference to this object.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Abstract/Core/Abstract_table_collection.html">Abstract_table_collection</a></span>
		<span class="method-name">
			setExcludetIds
		</span>
					(<span class="var-type">string|array<integer></span>&nbsp;<span class="var-name">$ids_list</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|array<integer></span>
				<span class="var-name">$ids_list</span><span class="var-description">: list of excludet ids, can be array of integer or comma separated list of ids.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetGridTableName" id="setGridTableName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setGridTableName</span> (line <span class="line-number">359</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set name of table in admin editor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setGridTableName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: name of table.</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getKnownFields" id="_getKnownFields"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_getKnownFields</span> (line <span class="line-number">559</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will return array of known table columns for this table, or NULL when  they are not read from database.</p>
	<ul class="tags">
				<li><span class="field">return:</span> table column or NULL.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<string>|NULL</span>
		<span class="method-name">
			_getKnownFields
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_setKnownFields" id="_setKnownFields"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_setKnownFields</span> (line <span class="line-number">569</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will save array of known table columns to global memory.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_setKnownFields
		</span>
					(<span class="var-type">array<string></span>&nbsp;<span class="var-name">$fields</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array<string></span>
				<span class="var-name">$fields</span><span class="var-description">: array of known table columns.</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Abstract/Core/Abstract_table_core.html">Abstract_table_core</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_table_core.html#methodisCalledFrom">Abstract_table_core::isCalledFrom()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_table_core.html#methodisInsideTemplate">Abstract_table_core::isInsideTemplate()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_table_core.html#method__get">Abstract_table_core::__get()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 15 Jan 2013 16:53:57 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>